Skip to content

perf(ci): speed up macOS release jobs and fix the iOS cache limit - #31

Merged
getBoolean merged 1 commit into
mainfrom
t3/faster-mac-release-builds
Nov 18, 2026
Merged

getBoolean merged 1 commit into
mainfrom
t3/faster-mac-release-builds

Conversation

@getBoolean

Copy link
Copy Markdown
Owner

The first nightly after #30 (run) took 87 minutes for the unsigned IPA. It restored the 1.6 GB compilation cache, but that unpacks to 4,233 MB. The 3 GB limit from #30 deleted it, so the build ran cold (CompileC 11,502 s against ~94 s warm).

In the same run, hosted macOS spent most of its dependency setup unpacking the cached pnpm store: 5 min for the IPA (1 GB) and 2.6 min for macOS x64 (0.9 GB). The macOS arm64 job had no store cache and installed from the registry in 30 s.

  • The compilation cache limit is now 8 GB on disk, well above a cold build's 4.2 GB.
  • setup-ci-deps gains a pnpm-store-cache input (default on). The macOS desktop jobs and the IPA turn it off. Linux and Windows are unchanged. This also stops about 1.9 GB of macOS pnpm stores competing with the iOS cache in the repository's 10 GB cache.

Expected saving per release: about 4.5 min on the IPA (5 min restore to under 1 min install) and about 2 min on macOS x64. The IPA build itself should drop from ~75 min to ~13–25 min once the cache is warm.

Claude Opus 5.5 via Claude Code in T3 Code

The first nightly after #30 restored the iOS compilation cache, but it
unpacks to 4.2 GB, so the 3 GB limit deleted it and the IPA built cold
(75 min). Raise the limit to 8 GB on disk.

Hosted macOS unpacked the ~1 GB cached pnpm store in 2.5-5 minutes, while
the arm64 job, which had no cache, installed from the registry in 30 s.
The macOS desktop and IPA jobs now skip the pnpm store cache.

Claude Opus 5.5 via Claude Code in T3 Code
@getBoolean
getBoolean merged commit 8f74a6a into main Nov 18, 2026
20 checks passed
@getBoolean
getBoolean deleted the t3/faster-mac-release-builds branch November 18, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant